package com.easyjava.qingke.project.mybatis.IDao;

import java.util.List;

import com.easyjava.qingke.project.mybatis.pojo.PurchaseOrder;

public interface PurchaseOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PurchaseOrder record);

    int insertSelective(PurchaseOrder record);

    PurchaseOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PurchaseOrder record);

    int updateByPrimaryKey(PurchaseOrder record);
    
    List<PurchaseOrder> selectPurchaseOrder();
    
    PurchaseOrder getPurchaseOrderByCode(String code);
}